/**
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved. 
 */
package com.wilmar.process.entity;

import java.io.Serializable;

/**
 * 机构与角色的一一对应组合,用于用户查找
 * 
 * @author MaKuBEX Email:makubexnet@gmail.com
 * @version 1.0.0 May 26, 2010
 * @since 1.0.0
 * 
 */
public class OrganizationRoleCombination implements Serializable {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = -4240657109227919912L;

	private String organizationId;
	private String roleId;

	/**
	 * @return the organizationId
	 */
	public String getOrganizationId() {
		return organizationId;
	}

	/**
	 * @param organizationId
	 *            the organizationId to set
	 */
	public void setOrganizationId(String organizationId) {
		this.organizationId = organizationId;
	}

	/**
	 * @return the roleId
	 */
	public String getRoleId() {
		return roleId;
	}

	/**
	 * @param roleId
	 *            the roleId to set
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * 完整构造函数
	 * 
	 * @param organizationId
	 *            机构标识符
	 * @param roleId
	 *            角色标识符
	 */
	public OrganizationRoleCombination(String organizationId, String roleId) {
		super();
		this.organizationId = organizationId;
		this.roleId = roleId;
	}

	/**
	 * 默认构造函数
	 */
	public OrganizationRoleCombination() {
		super();
	}

}
